package com.trg.designmodel.adapter.classAdapter;

/**
 * @ClassName: ApplePhone
 * @Description:
 * @Author: tangrg
 * @Date: 2021/7/6 10:29
 * @Version: 1.0
 * @Return:
 **/
public class ApplePhone {

    public void charging(VoltageAdapter voltageAdapter) {
        int i = voltageAdapter.outPut5V();
        System.out.println("当前手机，正在通过适配器充电中。。。,充电电压为：" + i + "V");

    }
}
